<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ page import="java.util.*" import="edu.scu.declaresys.vo.*"
	import="edu.scu.declaresys.config.*"
	import="edu.scu.declaresys.web.util.*;"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>系统配置</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" href="css/tree.css" type="text/css"></link>
<link rel="stylesheet" href="css/comm.css" type="text/css"></link>
<link rel="stylesheet" href="css/settings.css" type="text/css"></link>
</head>
<body>
	<jsp:include page="/jsp/template/pageHead.jsp" />
	<div>系统配置--&gt;用户管理--&gt;添加用户</div>
	<jsp:include page="/jsp/template/settingsGuide.jsp"></jsp:include>
	<div class="user_add">
		<form action="<%=IActionName.USER_REGISTER%>">
			<table>
				<tr>
					<td>单位名称</td>
					<td><input type="text" name="<%=User.T_UNIT_NAME %>"/></td>
				</tr>
				<tr>
					<td>用户角色</td>
					<td>
						<jsp:include page="/jsp/template/userRoleSelect.jsp"></jsp:include>
					</td>
				</tr>
				<tr>
					<td>登录名</td>
					<td><input type="text" name="<%=User.T_LOGIN_NAME %>"/></td>
				</tr>
				<tr>
					<td>登录密码</td>
					<td><input type="password" name="<%=User.T_PSWD %>" /></td>
				</tr>
				<tr>
					<td>确认密码</td>
					<td><input type="password" name="pswdConfirm"/></td>
				</tr>
				<tr>
					<td>地区</td>
					<td>四川省： 
					<input type="text" name="<%=User.T_PROVINCE_ID %>" value="<%=Area.PROVINCE_ID %>" style="display:none;">
					<select name="<%=User.T_CITY_ID %>">
							<option value="">---市---</option>
							<option value="2">成都市</option>
					</select >
					<select name="<%=User.T_COUNTY_ID %>">
							<option value="">---县---</option>
							<option value="32">双流县</option>
					</select> </td>
				</tr>
				<tr>
					<td>单位地址</td>
					<td><input type="text" name="<%=User.T_ADDRESS %>"/></td>
				</tr>
				<tr>
					<td>联系电话</td>
					<td><input type="text" name="<%=User.T_PHONE %>"/></td>
				</tr>
				<tr>
					<td>邮件地址</td>
					<td><input type="text" name="<%=User.T_EMAIL %>"/></td>
				</tr>
				<tr>
					<td colspan="2"><input type="submit" class="submitBtn"
						value="提交" /></td>
				</tr>
			</table>
		</form>
	</div>
</body>
</html>
